package com.gancp.service;

import com.gancp.domain.MyBlog;
import com.gancp.service.base.IBaseBiz;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author gancp
 * @Date 时间被黑洞吸走了
 * @Descripition 我的博客业务接口
 **/
public interface MyBlogBiz extends IBaseBiz<MyBlog, Long> {
    /**
     * @Author gancp
     * @Date 时间被黑洞吸走了
     * @Descripition 自动设置主键并返回主键
     **/
    Long insertAndGetId(MyBlog myBlog);

    List<Map<String, Object>> queryBlogPageByParam(MyBlog myBlog);
}
